package com.learn.jdk;

import java.util.function.Predicate;

/**
 * Copyright: Copyright (c) 2019 Asiainfo
 *
 * @ClassName: com.learn.jdk.PredicateLearn
 * @Description: 该类的功能描述
 * @version: v1.0.0
 * @author: lipan
 * @date: 2019/11/7 11:46
 * <p>
 * Modification History:
 * Date         Author          Version            Description
 * ------------------------------------------------------------
 * 2019/11/7      lipan          v1.0.0               修改原因
 */

public class PredicateLearn {


    public static void main(String[] args) {

        Predicate <String> predicate=p->p.length()>10;

        System.out.println(predicate.test("aaa???"));
    }
}
